
#ifndef UI_DLGSCALE_H
#define UI_DLGSCALE_H

#include "ui_ui_dlgscale.h"
#include "..\gui_export.h"

class GUI_EXPORT UI_DlgScale : public QDialog, public Ui::UI_DlgScale
{
    Q_OBJECT

public:
    UI_DlgScale(QWidget* parent = 0, const char* name = 0, bool modal = false, Qt::WindowFlags fl = 0);
    ~UI_DlgScale();

public slots:
    virtual void setData( PF_ScaleAttribute * d );
    virtual void updateData();

protected slots:
    virtual void languageChange();

private:
    QString factor;
    PF_ScaleAttribute* data;
    QString copies;
    int numberMode;
    bool useCurrentLayer;
    bool useCurrentAttributes;

    void init();
    void destroy();

};

#endif // QG_DLGSCALE_H
